dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
525cc3f
)
Let crazy people run updates on broken setups like 5.3.1
author
Chad Horohoe
<demon@users.mediawiki.org>
Wed, 27 Jan 2010 17:02:48 +0000
(17:02 +0000)
committer
Chad Horohoe
<demon@users.mediawiki.org>
Wed, 27 Jan 2010 17:02:48 +0000
(17:02 +0000)
maintenance/update.php
patch
|
blob
|
history
diff --git
a/maintenance/update.php
b/maintenance/update.php
index
abd0beb
..
759c571
100644
(file)
--- a/
maintenance/update.php
+++ b/
maintenance/update.php
@@
-19,7
+19,12
@@
$wgTitle = Title::newFromText( "MediaWiki database updater" );
echo( "MediaWiki {$wgVersion} Updater\n\n" );
-install_version_checks();
+if( !isset( $options['skip-compat-checks'] ) ) {
+ install_version_checks();
+} else {
+ print "Skipping compatibility checks, proceed at your own risk (Ctrl+C to abort)\n";
+ wfCountdown(5);
+}
# Attempt to connect to the database as a privileged user
# This will vomit up an error if there are permissions problems